<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class WxUser extends Model
{
     protected $fillable = ['openid', 'user_id', 'nickname', 'sex', 'province', 'city', 'country', 'headimgurl', 'unionid'];
     
    public function user() {
        return $this->hasOne('\App\Models\SyUser', 'userid', 'user_id');
    }
}
